/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package eao.impl;

import eao.EaoLocal;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import model.entity.RoleResource;

/**
 *
 * @author dingnangen
 */
@Stateless
public class RoleResourceFacade extends AbstractFacade<RoleResource> implements EaoLocal<RoleResource> {

    @PersistenceContext(unitName = "distributionSystem-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public RoleResourceFacade() {
        super(RoleResource.class);
    }
    
}
